const app = require('./app'); // 后缀名省略，默认是.js后缀
const greet = require('./greet.json'); 

module.exports = ()=>{
    let helloEl = document.createElement('h1');
    helloEl.textContent = greet.greetText;
    return helloEl;
} // 对外是个函数